package top.humbleyuan.designmode.decorator;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author HumbleYuan
 * @Date 2020/3/23 16:31
 * @Des
 */
public class Temple extends ABTemple {
    @Override
    protected List<String>  desc() {
        List<String> descList = new ArrayList<>();
        descList.add("这是个寺庙");
        return descList;
    }

    @Override
    protected List<String> blessSentence() {
        List<String> bless = new ArrayList<>();
        // 默认语句
        bless.add("一切都好");
        return bless;
    }

    @Override
    protected List<String> blessOp() {
        // 祈福动作和行为
        List<String> opList = new ArrayList<>();
        opList.add("供香");
        return opList;
    }
}
